export default function getSelectName(options, ids, split = ',') {
  let names = '';
  for (const id of ids) {
    const obj = options.find(op => op.value === id);
    if (obj && obj.label) {
      names += obj.label + split;
    }
  }
  return names.substring(0, names.length - 1);
}
